<html>
<head><meta charset="utf-8"><title>Intermediate MIR CFGs? · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Intermediate.20MIR.20CFGs.3F.html">Intermediate MIR CFGs?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="226652596"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Intermediate%20MIR%20CFGs%3F/near/226652596" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> osa1 <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Intermediate.20MIR.20CFGs.3F.html#226652596">(Feb 17 2021 at 13:05)</a>:</h4>
<p>-Zunpretty=mir-cfg is very useful but it shows the final MIR. Is there a way to get MIR CFG of an intermediate pass, or the initial mir?</p>



<a name="226652935"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Intermediate%20MIR%20CFGs%3F/near/226652935" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tm <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Intermediate.20MIR.20CFGs.3F.html#226652935">(Feb 17 2021 at 13:08)</a>:</h4>
<p><code>-Zdump-mir-graphviz -Zdump-mir=all</code></p>



<a name="226665223"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Intermediate%20MIR%20CFGs%3F/near/226665223" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> osa1 <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Intermediate.20MIR.20CFGs.3F.html#226665223">(Feb 17 2021 at 14:42)</a>:</h4>
<p>Thanks!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>